import Layout from '@/layout'

export const routes = [
  {
    path: '/flow/node',
    component: Layout,
    children: [
      {
        path: '/flow/node/edit/:id',
        component: () => import('@/flow/views/flowNode/flowNodeEdit'),
        name: 'flowNodeEdit',
        hidden: true,
        meta: { title: '编辑流程节点', affix: false }
      }
    ]
  },
  {
    path: '/flow/app/audit',
    component: Layout,
    children: [
      {
        path: '/flow/app/audit/:id',
        component: () => import('@/flow/views/audit/appAudit'),
        name: 'appAudit',
        hidden: true,
        meta: { title: '流程审批信息', affix: false }
      },
      {
        path: '/flow/app/copy/:id',
        component: () => import('@/flow/views/audit/copyAudit'),
        name: 'copyAudit',
        hidden: true,
        meta: { title: '抄送信息', affix: false }
      }
    ]
  },
  {
    path: '/flow/app/page',
    component: Layout,
    children: [
      {
        path: '/flow/app/page/view/:formId/:id',
        component: () => import('@/flow/views/flowAppPage/appPageView'),
        name: 'appPageView',
        hidden: true,
        meta: { title: '应用数据详细', affix: false }
      }
    ]
  }
]
